ad56ca12c5e61433e25f25fd27c729361453e599,community/server/src/test/java/org/neo4j/server/security/auth/AuthorizationWhitelistIT.java,AuthorizationWhitelistIT,shouldNotWhitelistDB,#,68
Before Change
server.start();
// Then I should get a unauthorized response for access to the DB
HTTP.Response response = HTTP.GET( server.baseUri().resolve( "db/data" ).toString() );
assertThat( response.status(), equalTo( 401 ) );
}
After Change
server.start();
// Then I should get a unauthorized response for access to the DB
HTTP.Response response = HTTP.GET(HTTP.GET( server.baseUri().resolve( "db/data" ).toString()).location() );
assertThat( response.status(), equalTo( 401 ) );
}